﻿using GalaSoft.MvvmLight;
using MoreEPG.Model;

namespace MoreEPG.ViewModel
{
    
    public class ChannelsViewModel : ViewModelBase
    {
        private static NLog.Logger logger = NLog.LogManager.GetCurrentClassLogger();
        public ChannelsViewModel()
        {
            
        }


        public const string CurrentPropertyName = "Current";
        private ConfigChannelItem _Current ;
        public ConfigChannelItem Current
        {
            get
            {
                return _Current;
            }

            set
            {
                if (_Current == value)
                {
                    return;
                }
               
                _Current = value;

                // Update bindings, no broadcast
                RaisePropertyChanged(CurrentPropertyName);

            }
        }
    }
}